import * as THREE from 'three'
import scene from '@/three/scene'
import camera from '@/three/camera'
import renderer from '@/three/renderer'
import controls from '@/three/controls'

const clock = new THREE.Clock()

function animate() {
  controls.update()
  renderer.render(scene, camera)
  requestAnimationFrame(animate)
}

export default animate
